package com.jxl.controller.admin;

import com.jxl.common.result.Result;
import com.jxl.pojo.dto.DailyWarmPostDTO;
import com.jxl.service.DailyWarmPostService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController("adminDailyWarmPostController")
@Slf4j
@Api(tags = "每日暖帖管理接口")
@RequestMapping("/admin/dailyWarmPosts")
public class DailyWarmPostController {
    @Autowired
    private DailyWarmPostService dailyWarmPostService;


    /**
     * 新增每日暖帖
     * @param dailyWarmPostDTO
     * @return
     */
//    @PostMapping
//    @ApiOperation("新增每日暖帖")
//    public Result<String> addDailyWarmPost(DailyWarmPostDTO dailyWarmPostDTO) {
//        dailyWarmPostService.addDailyWarmPost(dailyWarmPostDTO);
//        return Result.success();
//    }
}
